---
title: "Library Updates"
description: "New updates and improvements"
icon:  "history"
---

<Update label="v1.5.0 - 2025‑12‑01">
  ## Complete MCP Server SDK
  - **Major**: Complete MCP Server SDK with MCPServer class, routing, and production features
  - **New**: MCPRouter for modular server organization (similar to FastAPI's APIRouter)
  - **New**: Enhanced Context with sampling, elicitation, and notification support
  - **New**: Advanced logging system with customizable formats and JSON-RPC debugging
  - **New**: Built-in Inspector integration for real-time debugging and testing
  - **New**: Multiple transport protocols (stdio, streamable-http, SSE)
  - **New**: Development tools (docs UI, OpenMCP config, inspector)
  - **New**: FastMCP compatibility layer for seamless migration
  - **Enhancement**: Middleware can now modify context parameters ([#522](https://github.com/mcp-use/mcp-use/pull/522))
  - **Enhancement**: Tool enable/disable support with dynamic notifications
  - **Enhancement**: Refactored test suite using MCPServer instead of external servers
  - **Enhancement**: Type checking with ty and pre-commit hooks with prek
  - **Enhancement**: Moved Ruff configuration to pyproject.toml for better organization
</Update>

<Update label="v1.4.1 - 2025‑11‑20">
  ## Code Mode & Pretty Display
  - **New**: Code Mode integration for direct code execution through MCP servers with isolated environments
  - **New**: Pretty Display system with rich, colorful terminal output for agent interactions
  - **New**: LangChain integration guide and example implementation
  - **Enhancement**: SSL certificate verification control via `verify` parameter in MCPClient
  - **Enhancement**: Enhanced schema handling for complex data structures with improved list support
  - **Fix**: Recursion limit configuration in MCPAgent to prevent stack overflow errors
  - **Fix**: Client info property in base connector for proper metadata reporting
</Update>


<Update label="v1.4.0 - 2025‑10‑27">
  ## LangChain 1.0 & Provider Adapters
  - **Major**: Upgraded to LangChain 1.0.0 for improved performance and simplified agent patterns
  - **New**: Direct provider adapters for OpenAI, Anthropic, and Google - use MCP tools without MCPAgent
  - **Enhancement**: Agent methods now leverage LangChain 1.0.0's `create_agent()` and internal `astream()` for better loop handling
  - **Enhancement**: Dynamic tool updates during agent execution
  - **Enhancement**: Enhanced step tracking and middleware support for better observability
  - **Enhancement**: Remote mode query streaming delegation
  - **Fix**: Improved streaming output reliability with proper null checking
  - **Fix**: Automatic ToolMessage filtering from conversation history
</Update>

<Update label="v1.3.13 - 2025‑10‑18">
  ## Package Reorganization
  - **Refactor**: Reorganized package structure into `client.*` and `agents.*` namespaces for better discoverability
  - **Deprecation**: Old import paths (auth, middleware, managers, adapters, task_managers) are deprecated but still work with backward compatibility
  - **Enhancement**: Clearer separation between client and agent concerns for improved maintainability
  - **Fix**: Temporarily pinned to LangChain 0.3.27 to prevent breaking changes from 1.0.0 release (migration planned)
</Update>

<Update label="v1.3.12 - 2025‑10‑02">
  ## Middleware & Documentation
  - **New**: Comprehensive middleware system for request/response interception ([#269](https://github.com/mcp-use/mcp-use/pull/269))
  - **New**: Automatic API documentation generation ([#301](https://github.com/mcp-use/mcp-use/pull/301))
  - Fix: Tool result standardization for consistent output ([#288](https://github.com/mcp-use/mcp-use/pull/288))
  - Fix: Duplicate user message prevention in conversation history ([#287](https://github.com/mcp-use/mcp-use/pull/287))
  - Fix: Agent memory handling to prevent duplicate queries ([#187](https://github.com/mcp-use/mcp-use/pull/187))
  - Enhancement: Middleware metrics collection for better observability ([#299](https://github.com/mcp-use/mcp-use/pull/299))
  - Fix: Test server execution with proper executable paths ([#298](https://github.com/mcp-use/mcp-use/pull/298))
</Update>

<Update label="v1.3.11 - 2025‑09‑29">
  ## Auth Revolution
  - **New**: Complete OAuth2 and Bearer token authentication framework ([#149](https://github.com/pietrozullo/mcp-use/pull/149))
  - Fix: HTTP connector error handling with better diagnostics ([#279](https://github.com/pietrozullo/mcp-use/pull/279))
  - Fix: Accept empty tool results without validation errors ([#273](https://github.com/pietrozullo/mcp-use/pull/273))
  - Fix: JSON schema enum validation in jsonschema_to_pydantic conversion ([#270](https://github.com/pietrozullo/mcp-use/pull/270))
  - Fix: Documentation typo (astream → stream) ([#266](https://github.com/pietrozullo/mcp-use/pull/266))
  - Enhancement: MCPAgent execution tracking with success status ([#254](https://github.com/pietrozullo/mcp-use/pull/254))
  - Fix: Subprocess cleanup for multiple MCP clients to prevent memory leaks ([#231](https://github.com/pietrozullo/mcp-use/pull/231))
</Update>

<Update label="v1.3.3 - 2025‑06‑19">
  ## Stability Boost
  - Set default logging level to info
  - Fix: prevent double async cleanup and event loop errors in astream
  - Fix: Raise import error for fastembed, server manager does not silently fail
  - Fix: search tools tuple unpacking error
</Update>

<Update label="v1.3.1 - 2025‑06‑10">
  ## Stream Power
  - Remove client options for easier usage
  - Add streamable HTTP support
  - Fix websocket error positional arguments (headers were missing)
  - Fix connection state tracking after SSE disconnection
  - Add CLAUDE.md for development guidance
</Update>

<Update label="v1.3.0 - 2025‑05‑27">
  ## Sandbox Magic
  - Added optional E2B sandbox execution so MCP servers can run in secure cloud sandboxes.
  - `MCPAgent.astream()` now lets you stream results **and** automatically log full conversation history.
</Update>


<Update label="v1.2.13 - 2025‑05‑19">
  ## Resource Discovery
  - Alpha support for **Resources** & **Prompts** exposed by remote servers.
  - Routine version bump and stability tweaks across task / connection managers.
</Update>

<Update label="v1.2.10 - 2025‑05‑11">
  ## Emergency Patch
  - Hot‑fix: patched **FastEmbed** import failure that could break vector search.
</Update>

<Update label="v1.1.5 - 2025‑04‑11">
  ## Polish Pass
  - Maintenance release – internal refactors, doc clean‑ups, and incremental API polish.
</Update>

<Update label="v1.0.1 - 2025‑04‑07">
  ## Transport Layer
  - Introduced HTTP transport layer and dynamic multi‑server selection.
</Update>

<Update label="v1.0.0 - 2025‑04‑03">
  ## Stable Launch
  - First stable release of the unified Python client after the 0.0.x preview series.
</Update>

<Update label="v0.0.6 - 2025‑04‑02">
  ## Public Preview
  - Initial public preview published to PyPI; automated publish workflow enabled.
</Update>
